package lesson13;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 * @author tongchen
 * @create 2023-02-12 22:10
 */
public class exer07{
    public static void main(String[] args) throws IOException {
        FileReader fileReader = new FileReader("D:\\360安全浏览器下载\\test\\aa\\bb/test.txt");
        char[] chars = new char[1024];
        while(true){
            int read = fileReader.read(chars);
            if (read==-1){
                break;
            }
            System.out.print(chars);
        }
    }
}
